package com.vito.oa.act.extend.dao;

import java.util.List;
import java.util.Map;

import com.vito.act.model.ActExBussModel;
import com.vito.oa.act.extend.model.OaActEExBussDefModel;
import com.vito.oa.act.extend.model.OaActExBussModel;

public interface OaActExBussMapper{
	public int saveActExBuss(ActExBussModel actExBussModel);
	public int updateActExBuss(ActExBussModel actExBussModel);
	public int deleteActExBuss(ActExBussModel actExBussModel);
	public int queryActExBussCount(ActExBussModel actExBussModel);
	public int queryActExBussExistCount(String processKey);

	public String queryActExBussDefinedType(Map<String,Object> map);
	
	public int deleteActExBussDefRefCol(ActExBussModel actExBussModel);
	public int deleteActExBussDefRef(ActExBussModel actExBussModel);
	public int deleteActExBussDef(ActExBussModel actExBussModel);
	public int deleteExUserBuss(ActExBussModel actExBussModel);
	
	/*oa扩展*/
	OaActExBussModel queryActExBussByProcessKey(ActExBussModel actExBussModel);
	List<ActExBussModel> queryActExBussByPage(OaActExBussModel actExBussModel);
	int deleteActEExBuss(ActExBussModel actExBussModel);
	int deleteActEExBussDef(ActExBussModel actExBussModel);
	int saveActEExBuss(OaActExBussModel actExBussModel);
	int updateActEExBuss(OaActExBussModel actExBussModel); 
	List<OaActEExBussDefModel> queryActBussDef(OaActEExBussDefModel actExBussDefModel);
}

  